﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace FileTransfer
{
    public partial class FrmNewAddress : Form
    {
        public FrmNewAddress()
        {
            InitializeComponent();
        }

        private void btnSave_Click(object sender, EventArgs e)
        {
            if (string.IsNullOrEmpty(txtNewAddress.Text))
            {
                MessageBox.Show("未输入采集地址", "系统提示");
                return;
            }
            LoadContext.TempRemoteFileFullPath = txtNewAddress.Text;
            DialogResult = DialogResult.OK;
            //this.Close();
        }
    }
}
